<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>com.example.demodao.entity.TbCart</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/google-code-prettify@1.0.5/bin/prettify.min.css">
<link href="../style.css" rel="stylesheet" />
</head>
<body onload="PR.prettyPrint()">
<pre class="prettyprint lang-java">
public class com.example.demodao.entity.TbCart implements Serializable{

    private int id; //
    private [] items; //
    private double totalDiscount; //
    private double totalItemPrice; //
    private double totalDeliveryPrice; //
    private double payPrice; //

    public int getId(){
        return id;
    }

    public void setId(int id){
        this.id = id;
    }

    public [] getItems(){
        return items;
    }

    public void setItems([] items){
        this.items = items;
    }

    public double getTotalDiscount(){
        return totalDiscount;
    }

    public void setTotalDiscount(double totalDiscount){
        this.totalDiscount = totalDiscount;
    }

    public double getTotalItemPrice(){
        return totalItemPrice;
    }

    public void setTotalItemPrice(double totalItemPrice){
        this.totalItemPrice = totalItemPrice;
    }

    public double getTotalDeliveryPrice(){
        return totalDeliveryPrice;
    }

    public void setTotalDeliveryPrice(double totalDeliveryPrice){
        this.totalDeliveryPrice = totalDeliveryPrice;
    }

    public double getPayPrice(){
        return payPrice;
    }

    public void setPayPrice(double payPrice){
        this.payPrice = payPrice;
    }

}
</pre>


<pre class="prettyprint lang-java">
public class com.example.demodao.entity.TbItem implements Serializable{

    private long id; //
    private int quantity; //
    private double price; //
    private double couponPrice; //
    private double deliveryPrice; //

    public long getId(){
        return id;
    }

    public void setId(long id){
        this.id = id;
    }

    public int getQuantity(){
        return quantity;
    }

    public void setQuantity(int quantity){
        this.quantity = quantity;
    }

    public double getPrice(){
        return price;
    }

    public void setPrice(double price){
        this.price = price;
    }

    public double getCouponPrice(){
        return couponPrice;
    }

    public void setCouponPrice(double couponPrice){
        this.couponPrice = couponPrice;
    }

    public double getDeliveryPrice(){
        return deliveryPrice;
    }

    public void setDeliveryPrice(double deliveryPrice){
        this.deliveryPrice = deliveryPrice;
    }

}
</pre>



<script src="https://cdn.jsdelivr.net/npm/google-code-prettify@1.0.5/bin/prettify.min.js"></script>
</body>
</html>